package com.bright.ghj.user.manager;

import com.bright.ghj.user.pojo.dto.CommonUserDTO;
import org.springframework.security.core.userdetails.UsernameNotFoundException;

/**
 * @Author hxj
 * @Date 2024/11/18 09:12
 * @Description 用户管理
 */

public interface CommonUserManager<T extends CommonUserDTO> {

    /**
     * 根据用户名获取用户
     * @param userName
     * @return
     */
    T getUserByUserName(String userName) throws UsernameNotFoundException;


}
